Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / session-count

Number of user sessions associated with this client { "count": number }

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients/{id}/session-countNumber of user sessions associated with this client { "count": number }

Method Detail

GET /admin/realms/{realm}/clients/{id}/session-count

Number of user sessions associated with this client { "count": number }

HTTP Example:
GET /admin/realms/{realm}/clients/{id}/session-count
API Example:

ClientResource.getApplicationSessionCount({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */});

Output:
Map<String,Integer> -
Produces:
application/json

Keycloak REST Services 1.5.0-Final